<!DOCTYPE html>
<html>
	<head> <meta charset="UTF-8"><title></title></head>
	<body>
		<script type="text/javascript">
			var getRequest= function (id) {
		        var url = location.search; //获取url中"?"符后的字串]
		        url = url.replace("?url=",""); 
		       	return  decodeURI(decodeURIComponent( 
                    decodeURI(decodeURIComponent(
                        escape(url).replace(/\+/g, '%20')
                    ))
               ));
		    }
			if(getRequest('url')){
				window.location.href = getRequest('url');
			}else{
				alert("参数错误！");
			}
		</script>
	</body>
</html>
